#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <vector>

using namespace std;

int main()
{
	vector <int> a;
	a.push_back(1);
	a.push_back(1);
	a.push_back(1);
	a.push_back(1);
	a.push_back(1);
	a.push_back(1);
	
	for (auto e : a)
	{
		cout << e << endl;
	}

	vector<int>::iterator it;
	it = a.begin();
	while (it != a.end())
	{
		cout << *it << endl;
		++it;
	}

	for (size_t i = 0; i < a.size(); i++)
	{
		cout << a[i] << endl;
	}



	return 0;
}